package com.example.demo.sys.entity;

import com.example.demo.common.tools.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  chrimer
 * </p>
 *
 * @author chrimer
 * @since 2020-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Forum extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 讨论类型
     */
    @TableField("discussType")
    private String discussType;

    /**
     * 讨论标题
     */
    @TableField("discussTitle")
    private String discussTitle;

    /**
     * 讨论内容
     */
    @TableField("discussContent")
    private String discussContent;

    /**
     * 用户名字
     */
    private String nickname;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private String createTime;

    /**
     * 课程id
     */
    @TableField("courseId")
    private String courseId;
    /**
     * 回复数量
     */
    private Integer answer;

}
